FTP Server - ProFTPD
2014/04/26 |
Install ProFTPD to configure FTP server to transfer files.
|
|
[1] | Install ProFTPD |
root@www:~#
apt-get -y install proftpd # select standalone +-------------------------+ ProFTPD configuration +-------------------------+ | ProFTPD can be run either as a service from inetd, or as a standalone | | server. Each choice has its own benefits. With only a few FTP | | connections per day, it is probably better to run ProFTPD from inetd in | | order to save resources. | | | | On the other hand, with higher traffic, ProFTPD should run as a | | standalone server to avoid spawning a new process for each incoming | | connection. | | | | Run proftpd: | | | | from inetd | | standalone | | | | | | <Ok> | | | +---------------------------------------------------------------------------+
root@www:~#
vi /etc/proftpd/proftpd.conf # line 11: turn off if not needed UseIPv6 off
# line 15: change to your hostname ServerName "www.srv.world"
# line 34: uncomment ( specify root directory for chroot ) DefaultRoot ~
root@www:~#
vi /etc/ftpusers # add users you prohibit FTP connection test
/etc/init.d/proftpd restart * Stopping ftp server proftpd ...done. * Starting ftp server proftpd ...done. |